<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Login</title>
</head>
<body>
	<form id="loginform" action="<%=request.getContextPath()%>/login.udo" method="get" style="text-align: center; margin:100px auto; padding: 50px; border: 1px #ccc solid; width: 400px;">
		<c:if test="${not empty requestScope.note }">
			<span style="color: red; font-weight: bolder;">${note }</span>
		</c:if>
		<br><br>
		用户名：<input id="username" type="text" name="username" />
		<br><br>
		密   码：<input type="text" name="password" />
		<br><br>
		<input type="radio" name="expiredays" value="7">记住我一周
		<br><br>
		<input type="radio" name="expiredays" value="30">记住我一个月
		<br><br>
		<input type="radio" name="expiredays" value="max" />永远记住我
		<br><br>
		<input type="submit" value="登入">	
	</form>
</body>
</html>